package com.gxa.common.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户高级查询信息Vo表")
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})
public class UserRequestVo {
    @ApiModelProperty(name = "currentPage",notes = "currentPage 当前页",dataType = "Integer",required = true)
    private Integer currentPage;
    @ApiModelProperty(name = "pageSize",notes = "每页大小",dataType = "Integer",required = true)
    private Integer pageSize;
    @ApiModelProperty(name = "roleId",notes = "角色ID，应该有默认角色",dataType = "Integer",required = true)
    private Integer roleId;
    @ApiModelProperty(name = "departmentId",notes = "所属部门的ID",dataType = "Integer",required = false)
    private Integer departmentId;
    @ApiModelProperty(name = "username",notes = "用户登录用名称（长度6-20）",dataType = "String",required = true)
    private String username;
    @ApiModelProperty(name = "realName",notes = "用户真实名称（1-20)",dataType = "String",required = true)
    private String realName;
    @ApiModelProperty(name = "phoneNum",notes = "用户联系电话",dataType = "String",required = false)
    private String phoneNum;
    @ApiModelProperty(name = "identityNum",notes = "用户身份证号码",dataType = "String",required = true)
    private String identityNum;
    @ApiModelProperty(name = "startBirthday",notes = "生日起",dataType = "String",required = false)
    private String startBirthday;
    @ApiModelProperty(name = "endBirthday",notes = "生日止",dataType = "String",required = false)
    private String endBirthday;
}
